package org.japo.java.swing.igu;

import java.awt.HeadlessException;
import javax.swing.JFrame;

public class IGU extends JFrame {

    public IGU() throws HeadlessException {
        iniciarComponentes();
    }

    private void iniciarComponentes() {
        // Ventana
        setSize(400, 300);
        setLocationRelativeTo(null);
        setTitle("Ventana");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
